<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/7/22
  Time: 19:52
  To change this template use File | Settings | File Templates.
--%>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/7/21
  Time: 14:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    System.out.println("basepath:"+basepath);
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%--<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%--<%@taglib  uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>--%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basepath %>" />
    <meta charset="UTF-8">
    <title>小朋银行</title>
</head>
<link rel="stylesheet" href="/css/index.css">

<body>

<!--头部连接-->
<div class="header">
    <div class="wraper">
        <!--顶部链接-->
        <div class="topLink">
            <ul>
                <li>
                    <a href="#"><span>xx银行  |</span></a>
                </li>
                <li>
                    <a href="#"><span>加入收藏  |</span></a>
                </li>
                <li>
                    <a href="#"><span>联系我们  |</span></a>
                </li>
                <li class="last">
                    <a href="#"><span>网点查询</span></a>
                </li>
            </ul>
        </div>
        <div class="ll">
            <ul>
                <li>
                    <a href="#">登录</a>
                </li>
                <li>
                    <a href="#">注册</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--头部-->
<div class="topSection">
    <div class="wraper">
        <div class="h90">
            <!--logo与城市切换-->
            <div class="l">
                <div class="logo">
                    <a href="#"> <img src="image/log.png" alt="小朋银行" style="width: 90px;height: 90px;">
                    </a>
                </div>
            </div>
            <div class="r">
                <div class="kefuline">
                    <p class="kefu">客服热线：0000-000-000 &nbsp; 0000-000-000</p>
                </div>
            </div>

        </div>

        <div class="nav" id="navigation">
            <ul>
                <li class="focus"><a href="#" class="title" title="首页">首页</a>
                </li>
                <li><a href="credit-progress/checkStatus" class="title" title="办卡申请">办卡申请</a>
                </li>
                <li><a href="#" class="title" title="">服务2</a>
                </li>
                <li><a href="#" class="title" title="">服务3</a>
                </li>
                <li><a href="#" class="title" title="">服务4</a>
                </li>
                <li><a href="#">服务5</a>
                </li>
                <li><a href="#" title="">服务6</a>
                </li>
                <li><a href="#" title="">服务7</a>
                </li>
                <li class=""><a href="#" title="帮助中心">帮助中心</a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--主体页面-->
<div class="main">

    <div >
        <table id="tb">
            <tr>
                <td>
                    <span>用户名</span>
                </td>
                <td>
                    <span>申请办卡时间</span>
                </td>

                <td>
                    <span>申请进度</span>
                </td>

            </tr>
            <c:forEach items="${list}" var="li">

                <tr>
                    <td>
                        <span>${li.cpName}</span>
                    </td>
                    <td>
                        <span>
                                <fmt:formatDate value="${li.applyTime}" pattern="yyyy-MM-dd"></fmt:formatDate>
                           </span>
                    </td>

                    <td>
                        <span>${li.auditProgress}</span>
                    </td>

                </tr>
            </c:forEach>
        </table>

    </div>

</div>
<!--尾部部分-->
</body>
</html>